

#include <iostream>
//#include <fstream>
//#include <stdlib.h>
#include "chisquaredistr.h"


using namespace std;
int main(){
double val, df;

cout<<endl<<"digita il valore da calcolare: ";
cin>>val;

cout<<endl<<"digita il gradi di liberta: ";
cin>>df;


cout<<endl<<"il valore e: "<<chisquarecdistribution(df, val)<<endl;

return 0;


}

